package model;

import java.io.Serializable;
import java.sql.Date;
import java.sql.Time;

public class Sms implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	String imei, contactid, threadid, smstype;
	Date date;
	Time time;
	int length;
	int week;
	public static final String OUTGOING = "Outgoing";
	public static final String INCOMING = "Incoming";
	private boolean isReplySms = false;

	public boolean isReplySms() {
		return isReplySms;
	}

	public void setReplySms(boolean isReplySms) {
		this.isReplySms = isReplySms;
	}

	public int getWeek() {
		return week;
	}

	public void setWeek(int week) {
		this.week = week;
	}

	public String getImei() {
		return imei;
	}

	public void setImei(String imei) {
		this.imei = imei;
	}

	public String getContactid() {
		return contactid;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Time getTime() {
		return time;
	}

	public void setTime(Time time) {
		this.time = time;
	}

	public void setContactid(String contactid) {
		this.contactid = contactid;
	}

	public String getThreadid() {
		return threadid;
	}

	public void setThreadid(String threadid) {
		this.threadid = threadid;
	}

	public String getSmstype() {
		return smstype;
	}

	public void setSmstype(String smstype) {
		this.smstype = smstype;
	}

	public int getLength() {
		return length;
	}

	public void setLength(int length) {
		this.length = length;
	}

	public Sms(String imei, String contactid, Date date, Time time,
			String threadid, int length, String smstype) {
		super();
		this.imei = imei;
		this.contactid = contactid;
		this.date = date;
		this.time = time;
		this.threadid = threadid;
		this.length = length;
		this.smstype = smstype;
	}

	public Sms() {
		super();
	}

}
